﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NetworkIndexer.Data.DomainModels;

namespace NetworkIndexer.Core.Repositories
{
    public interface IIndexingRepository
    {
        /// <summary>
        /// Indexes the network.
        /// </summary>
        /// <param name="computers">list of ips of computers to be indexed</param>
        /// <param name="completeRefresh">Do you want to clear the cache and recrawl?</param>
        /// <returns></returns>
        IList<ShareDetails> Index(IList<string> computers,string searchExtensions ,bool completeRefresh);
    }
}
